package kin.dao.security;

import kin.bean.security.Button;
import kin.dao.system.BaseManagerIMP;
import kin.manager.security.ButtonManager;



import org.springframework.stereotype.Component;

@Component

public class ButtonManagerIMP extends BaseManagerIMP<Button> implements ButtonManager {

	@Override
	public void deleteByUrl(String url) {
		this.getSessionFactory().getCurrentSession().createQuery("delete Button from Button where url=:url").setParameter("url",url).executeUpdate();
		
	}

}
